package com.mysiteforme.admin.service.impl;

import com.mysiteforme.admin.entity.ElectricityClassify;
import com.mysiteforme.admin.dao.ElectricityClassifyDao;
import com.mysiteforme.admin.service.ElectricityClassifyService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 分类 服务实现类
 * </p>
 *
 * @author wangl
 * @since 2019-09-19
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class ElectricityClassifyServiceImpl extends ServiceImpl<ElectricityClassifyDao, ElectricityClassify> implements ElectricityClassifyService {

    @Override
    public List<ElectricityClassify> selectAllClassify(Map<String, Object> map) {
        return baseMapper.getClassify(map);
    }
}
